/*header css===============================================================*/
.sidebar-toggle {
    display: block;
    cursor: pointer;
    width: 185px;
    line-height: 50px;
    height: 50px;
    float: left;
    text-align: center;
    background: #2e3740;
    border-bottom: 1px #434c53 solid;
    color:#929eaa;
    -webkit-transition: -webkit-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -moz-transition: -moz-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -o-transition: -o-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}
/*content css===============================================================*/
.content-wrapper{
    margin-left: auto;

}
.main-content{
    margin-left: 185px;
    z-index: 800;
}

.content-header{
    height: 40px;
}

@media (max-width: 767px) {
    .main-header{
        height: 100px;
        line-height: 100px;
    }
    .header-logo{
        width: 100%;
        float: clear;
    }
    .header-menu-bar{
        width: 100%;
        margin-left: 1px;
    }
    .header-menu{
        width: 50px;
        padding-right: 0px;
        padding-left: 0px;
    }
    .main-sidebar{
        -webkit-transform: translate(-185px, 0);
        -ms-transform: translate(-185px, 0);
        -o-transform: translate(-185px, 0);
        transform: translate(-185px, 0);
    }
    .sidebar-open .main-sidebar{
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
        top: 100px;
    }
    .main-content{
        margin-left: 0px;
    }
}
@media (min-width: 768px) {
    .header-menu-bar {
        margin-left: 185px;
    }
}
/*sidebar css===============================================================*/
.main-sidebar {
    position: absolute;
    top: 50px;
    left: 0;
    width: 185px;
    z-index: 810;
    -webkit-transition: -webkit-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -moz-transition: -moz-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    -o-transition: -o-transform 0.3s ease-in-out, width 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}
.sidebar-menu {
    list-style: none;
}
.sidebar-menu:hover {
    overflow: visible;
}
.sidebar-menu > li {
    position: relative;
    border-bottom:1px #434c55 solid;
}
.sidebar-menu > li > a {
    padding: 12px 5px 12px 15px;
    display: block;
}

.sidebar-menu > li > a > .fa,
.sidebar-menu > li > a > .glyphicon,
.sidebar-menu > li > a > .ion {
    width: 20px;
}

.sidebar-menu > li .label,
.sidebar-menu > li .badge {
    margin-top: 3px;
    margin-right: 5px;
}

.sidebar-menu li > a {
    position: relative;
    color:#949ea8;
    border-left: 3px solid transparent;
}
.sidebar-menu > li:hover > a, .sidebar-menu > li.active > a {
    background: #35404d;
    text-decoration: none;
}
.sidebar-menu li > a > .glyphicon-chevron-left {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    margin-top: 3px;
}
.sidebar-menu li > a > .pull-right {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -7px;
}
.sidebar-menu > li > .treeview-menu{
    background: #424d5a;
}
.sidebar-menu li.active > a > .glyphicon-chevron-left {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
.sidebar-menu li.active > .treeview-menu {
    display: block;
}
.sidebar-menu .treeview-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 5px;
}
.sidebar-menu .treeview-menu .treeview-menu {
    padding-left: 20px;
}
.sidebar-menu .treeview-menu > li {
    margin: 0;
}
.sidebar-menu .treeview-menu > li > a {
    padding: 5px 5px 5px 15px;
    display: block;
}
.sidebar-menu .treeview-menu > li > a.active{
    color:#ffffff;
}
.sidebar-menu .treeview-menu > li > a > .fa,
.sidebar-menu .treeview-menu > li > a > .glyphicon,
.sidebar-menu .treeview-menu > li > a > .ion {
    width: 20px;
}
.sidebar-menu .treeview-menu > li > a > .glyphicon-chevron-left,
.sidebar-menu .treeview-menu > li > a > .fa-angle-down {
    width: auto;
}

/*sidebar mini css===============================================================*/
@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .wrapper{
        border-left:50px solid #00F7DE;
    }
    .sidebar-mini.sidebar-collapse .main-left {
        -webkit-transition: -webkit-transform 0.3s ease-in-out, width 0.3s ease-in-out;
        -moz-transition: -moz-transform 0.3s ease-in-out, width 0.3s ease-in-out;
        -o-transition: -o-transform 0.3s ease-in-out, width 0.3s ease-in-out;
        transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
        width: 50px!important;
        z-index: 810;
        margin-left: -50px;
    }
    .sidebar-mini.sidebar-collapse .main-sidebar{
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 50px !important;
        z-index: 810;
    }
    .sidebar-mini.sidebar-collapse .sidebar-toggle{
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
        width:50px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li {
        position: relative;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
        margin-right: 0;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span {
        border-top-right-radius: 4px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:not(.treeview) > a > span {
        border-bottom-right-radius: 4px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom-right-radius: 4px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        display: block!important;
        position: absolute;
        width: 180px;
        left: 50px;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span {
        top: 0;
        margin-left: -3px;
        padding: 12px 5px 12px 20px;
        background-color: inherit;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        top: 40px;
        margin-left: 0;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span,
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu,
    .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .pull-right{
        display: none!important;
        -webkit-transform: translateZ(0);
    }
}
